﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.Base_Manage
{
    /// <summary>
    /// Base_InterfaceOptionEntry
    /// </summary>
    [Table("Base_InterfaceOptionEntry")]
    public class Base_InterfaceOptionEntry
    {

        /// <summary>
        /// ID
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 父项ID
        /// </summary>
        public String ParentId { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public Boolean Deleted { get; set; }

        /// <summary>
        /// 部门ID
        /// </summary>
        public String DepartmentId { get; set; }

        /// <summary>
        /// 接口名称
        /// </summary>
        public String OptionId { get; set; }

        /// <summary>
        /// 节点编号
        /// </summary>
        public String NodeNO { get; set; }

        /// <summary>
        /// 父项编号
        /// </summary>
        public String ParentNO { get; set; }

        /// <summary>
        /// 源字段名称
        /// </summary>
        public String SourceField { get; set; }

        /// <summary>
        /// 目标字段名称
        /// </summary>
        public String SreachKey { get; set; }

        /// <summary>
        /// 目标段名称
        /// </summary>
        public String TargetField { get; set; }

        /// <summary>
        /// 目标数据类型
        /// </summary>
        public String TargetFieldType { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public String IsEnable { get; set; }

        /// <summary>
        /// 映射类型
        /// </summary>
        public String MapType { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public Int32? Sort { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public String Notes { get; set; }

    }

}